package com.lik888.web1.service;

import com.lik888.web1.entity.DTO.UserTableDTO;
import com.lik888.web1.entity.R;
import com.lik888.web1.entity.UserTable;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-10-30
 */
public interface IUserTableService extends IService<UserTable> {

   String Login(String username, String password);

   Boolean Register(UserTable userTable);

    Boolean CheckPhone();


    R DoubleRegister(String phone, String email);

    R GetUserMessage();

    R ForgetCheck(String email, String username);

    UserTable ChangeSelf(UserTableDTO userTableDTO);

    Boolean CheckIdCard();

    UserTable CheckIdCardForBuyOrSell(String idcard,Boolean isTrue);

    Boolean ReturnCode( String username,String code);

    R<UserTable> ResetPassword(String username, String password, Boolean isTrue);
}
